#ifndef _MY_LINE_HEADER
#define _MY_LINE_HEADER

#include <Windows.h>
#include <atltypes.h>

class MyLine
{
	CPoint m_begin, m_end;
	COLORREF m_color;
public:
	MyLine();
	MyLine(const MyLine& line);
	MyLine(CPoint begin, CPoint end, COLORREF color);
	MyLine(int xBegin, int yBegin, int xEnd, int yEnd, COLORREF color);

public:
	void setColor(COLORREF);
	void setColor(BYTE, BYTE, BYTE);
	void Draw();
};

#endif // _MY_LINE_HEADER